-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.5.1
-
Code
-
Classes
- DirectoryModel
| Total Complexity |
98 |
| Dependencies |
5 |
| Dependents |
4 |
| Total lines |
539 |
| Lines of code |
336 |
| Logical lines of code |
185 |
| Comment lines |
85 |
| Methods |
23 |
| Properties |
9 |
Methods 23
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| __construct() |
A |
46 |
12 |
41 |
| getFiles() |
A |
48 |
12 |
30 |
| check() |
A |
47 |
11 |
40 |
| fileFilter() |
A |
50 |
9 |
30 |
| getSubDirectories() |
A |
52 |
9 |
25 |
| getRelativePath() |
S |
51 |
6 |
28 |
| recursiveDelete() |
S |
59 |
6 |
14 |
| getFolderSize() |
S |
57 |
4 |
19 |
| reverseConstructPath() |
S |
56 |
4 |
17 |
| getPermissions() |
S |
61 |
3 |
14 |
| constructUsualDirectories() |
S |
60 |
3 |
13 |
| exists() |
S |
69 |
3 |
7 |
| isSubFolderOf() |
S |
66 |
3 |
9 |
| getPermissionRecursive() |
S |
64 |
2 |
11 |
| is_writable() |
S |
70 |
2 |
7 |
| is_readable() |
S |
70 |
2 |
7 |
| __toString() |
S |
81 |
1 |
3 |
| getPath() |
S |
82 |
1 |
3 |
| getModified() |
S |
80 |
1 |
3 |
| getName() |
S |
82 |
1 |
3 |
| is_virtual() |
S |
82 |
1 |
3 |
| getParent() |
S |
71 |
1 |
6 |
| delete() |
S |
80 |
1 |
3 |